//这个插件一定要放在plugins下面，否则就会失效
import VuexPersistence from 'vuex-persist'

export default ({ store }) => {
    new VuexPersistence({
        /* your options */
    }).plugin(store);
}